class MenuVo {
  int id;
  String name;
  String route;
  int parentId;
  int status;
  String statusName;

  MenuVo({this.id, this.name, this.route, this.status, this.statusName});

  MenuVo.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    route = json['route'];
    parentId = json['parentId'];
    status = json['status'];
    statusName = json['statusName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['name'] = this.name;
    data['route'] = this.route;
    data['parentId'] = this.parentId;
    data['status'] = this.status;
    data['statusName'] = this.statusName;
    return data;
  }
}
